Returns the value of a DICOM element
public T GetValue<T>(DicomElement element,bool tree,long tag,T defaultValue)
Public Overloads Function GetValue(Of T)( _ByVal element As Leadtools.Dicom.DicomElement, _ByVal tree As Boolean, _ByVal tag As Long, _ByVal defaultValue As T _) As T
public:T^ GetValuegeneric<typename T>(Leadtools.Dicom.DicomElement^ element,bool tree,int64 tag,T^ defaultValue)
element
an item in the data set
tree
true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.
tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
T
specifies the type of the value to return
a value of type T that is the value of the DICOM element
For information on this method, see GetValue.
For an example, refer to DicomDataSet.GetValue{T}(DicomElement, T)
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
